﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MainFrame.aspx.cs" Inherits="ProjectStudy.注册登录找回密码修改密码页面.MainFrame" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <script src="../Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <script src="../Scripts/jquery-1.4.1.min.js" type="text/javascript"></script>
            <script type="text/javascript">
                $(function () {
                    var user = '<%=Session["username"] %>';
                    if (user.length > 0) {
                        window.onbeforeunload = function () {
                            return "";
                        };
                    }
                    window.onunload = function () {
                        $.ajax({
                            type: "post",
                            url: "/Ajax/RegisterLoginChangePwdFindPwd.ashx",
                            data: { "action": "logout" },
                            dataType: "json",
                            success: function (data) {
                                logout();
                            },
                            error: function (err) { }
                        });
                    };
                });
</script>
    <title></title>
</head>
    <frameset rows="50,*" border="1">
      <frame name="top" src="Top.aspx" resize="no"></frame>
      <frameset cols="250,*">
        <frame name="leftMenu" src="LeftMenu.aspx"></frame>
        <frame name="content" src=""></frame>
      </frameset>
    </frameset>
    <script type="text/javascript">
        function logout() {           
            top.location.href = "Logout.aspx";            
        }
    </script>

</html>
